package com.gpzx.zx.module.home.ui.fragment

import android.os.Bundle
import android.view.View
import androidx.databinding.ViewDataBinding
import com.gpzx.zx.R
import com.gpzx.zx.databinding.FragmentNewHomeBinding
import com.gpzx.zx.module.home.frame.presenter.NewHomePresenter
import com.gpzx.zx.module.home.frame.view.NewHomeView
import com.wkq.base.frame.fragment.MvpBindingFragment

/**
 *
 * 作者:吴奎庆
 *
 * 时间:2020/7/16
 *
 * 用途:
 */
class NewHomeFragment:MvpBindingFragment<NewHomeView, NewHomePresenter,FragmentNewHomeBinding>(){
    companion object {

        fun newInstance(): NewHomeFragment {
            var bandle: Bundle = Bundle()
            var home: NewHomeFragment = NewHomeFragment()
            home.arguments = bandle
            return home
        }

    }

    override fun getLayoutId(): Int {
        return R.layout.fragment_new_home
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
        if(mvpView!=null)mvpView.initView()
    }


}



